import Vue from 'vue'
import App from './App.vue'
import router from './router'
import VueAwesomeSwiper from 'vue-awesome-swiper'
import VueLazyLoad  from 'vue-lazyload'
import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'

import '../src/assets/css/reset.css'  //重置base
import '../src/assets/css/border.css' // 1像素边框问题
import '../src/assets/css/iconfont.css'
import 'swiper/dist/css/swiper.css'


Vue.use(VueAwesomeSwiper)
Vue.use(VueLazyLoad,{
	//preLoad:1.3,
  error:require('@/assets/images/error.png'),
  loading:require('@/assets/images/loading.png'),
  //attempt:3
})
Vue.use(ElementUI)
Vue.config.productionTip = false

new Vue({
	router,
  render: h => h(App),
}).$mount('#app')
